/* 顶部导航 */
.topbar {
  background-color: #e96060;
  height: 40px;
  font-size: 12px;
  color: #b0b0b0;
}
.topbar-in {
  height: 40px;
  /* background-color: aquamarine; */
}

.topbar-nav {
  height: 40px;
  line-height: 40px;
  font-size: 0;
}
.topbar-nav  :is(a,span){
  font-size: 12px;
  color: #b0b0b0;
}
.topbar-nav  :is(a:hover, a:active){
  color: #fff;
}
.topbar-nav span {
  padding: 0 8px;
}

.user-shop {
  height: 40px;
  width: 80px;
  line-height: 40px;
  text-align: center;
  background-color: #616161;
  color: #b0b0b0;
  cursor: pointer;
}

.user-shop:hover {
  background-color: #ff6700;
  color: #fff;
}


/* 导航头 */
.header {
  box-sizing: border-box;
}

.header .logo{

  height: 100px;
  width: 210px;
  background-color: rgb(37, 191, 191);
  background: url(../images/logo-mi2.png) no-repeat left center;
  background-size: 26%;
  text-indent: -9999px;
  overflow: hidden;
}

.header .menu{

  height: 100px;
  width: 600px;
  /* background-color: red; */
  box-sizing: border-box;
}
.menu ul {
  padding-top: 30px;
}

.menu li {
  padding: 0 10px;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
}


/* 搜索 */
.header .search-box{

  height: 100px;
  /* background-color: rgb(49, 188, 114); */
  box-sizing: border-box;
  padding-top: 25px;
}

.search-box form {
  position: relative;
    width: 296px;
    height: 50px;
    z-index: 20;
}
.search-box .search-text {
  width: 223px;
  height: 48px;
  padding: 0 10px;
  font-size: 14px;
  line-height: 48px;
  border: 1px solid #ccc;
  outline: 0;

  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.search-box .search-btn {
    border: 1px solid #e0e0e0;
    outline: 0;
    width: 52px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
    background: #fff;
    color: #616161;

    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
} 


.banner {
  
}
.banner-in {
  height: 460px;
  background-color: coral;
  position: relative;
  
}
/* 轮播图容器 */
.swiper-box {
  width: 100%;
  height: 100%;
  background-color: #ff6700;
  background: url(../images/banner1.webp) no-repeat center;
  background-size: cover;
  position: relative;
}
.swiper-box .sp-btn {
  height: 70px;
  width: 40px;
  line-height: 70px;
  text-align: center;
  font-size: 18px;
  color: #bfb9b9;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;

}
.swiper-box .sp-btn:hover {
  background-color: #b0b0b0;
  color: #fff;
}
.swiper-box .sp-left{
  left: 210px;
}
.swiper-box .sp-right{
  right: 0;
}


.cate-box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 210px;
  background-color: hotpink;
  background-color: rgba(105,101,101,.6);
}
.cate-box ul {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.cate-box li {
  box-sizing: border-box;
  padding: 0 15px;
  height: 42px;
  line-height: 42px;
}
.cate-box li:hover {
  background-color: #ff6700;
  cursor: pointer;
}

.cate-box span {
  color: #fff;
}

.cate-details { 
  /* width: 400px; */
  height: 460px;
  background-color: #fff;
  position: absolute;
  left: 210px;
  top: 0;
  box-sizing: border-box;
  padding: 10px 8px;
  display: none;

}

.cate-details-item {
  width: 260px;
}

.cate-details-item li:nth-child(n+2) {
  margin-top: 31px;
}
/* .banner-in:hover  .cate-details {
  display: block;
} */
.cate-details-item a{
  display: block;
  padding: 8px 12px;
  font-size: 0;
}
.cate-details-item span{
  vertical-align: middle;
  font-size: 16px;
}
.cate-details-item img{
  width: 32px;
  margin-right: 10px;
}

/* 热门商品 */

.section_pro_list{
  margin: 20px 0 40px;
  background-color: #fff;
}
.section_pro_list>.container{
  height: 170px;
}


.section_pro_list .tag-links {
  width: 210px;
  height: 100%;
  font-size: 12px;
  box-sizing: border-box;
  padding: 8px;
  background-color: #5f5750;

}

.section_pro_list .spro {
  width: 310px;
  height: 100%;
  margin-left: 20px;
  background-color: green;
}
.section_pro_list .spro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tag-links img {
  width: 24px;
  margin-bottom: 8px;
}
.tag-links li a {
  display: block;
  color: #fff;
  opacity: .6;
}
.tag-links li a:hover {
  opacity: 1;
}
.tag-links li {
  text-align: center;
  box-sizing: border-box;
  padding-top: 16px;
  width: 64px;
  height: 78px;
  position: relative;
}

.tag-links li::before {
  content: '';
  position: absolute;
  width: 54px;
  height: 1px;
  background-color: #665e57;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tag-links li::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 68px;
  background-color: #665e57;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.adv {
  background-color: #f5f5f5;
  padding: 20px 0;
  width: 100%;
}
.adv img{
  width: 100%;
  height: 120px;
  object-fit: cover;
}


.section {
  background-color: #f5f5f5;
}

.section_header :is(.title,.s-tabs){
  height: 60px;
  line-height: 60px;

}
.s-tabs a {
 position: relative;
}

.s-tabs a::after {
  content: '';
  width: 96%;
  height: 2px;
  background-color: #ccc;
  position: absolute;
  bottom:-5px;
  left: 50%;
  transform: translateX(-50%);
}
.s-tabs a:hover::after {
  background-color: #ff6700;
}

.s-tabs a:nth-child(n+2){
  margin-left: 10px;
}


.section_content .scl-box {
  width: 210px;
  height: 614px;
  background-color: aqua;
}

.section_content .scr-box {
  width: 970px;
  height: 614px;
}
.scr-box li {
  width: 227.5px;
  height: 297px;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  padding-top: 20px;

}

.tf {
  
  transform: translateY(0);
  -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

.tf:hover {
  -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  transform: translateY(-5px);
}

.scr-box  li.src-li-last {
  padding-top:0;
}

.scr-box li h3 {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 5px;
}

.scr-box li .shop-info-tags {
  font-size: 12px;
    color: #b0b0b0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 10px;
    margin-bottom: 10px;
}

.scr-box img {
  margin: 40px 0;
  width: 100px;
}
.scr-box li .shop-info-price {
    color: #ff6700;
}

.scr-box li:not(:nth-child(4n+1)) {
  margin-left: 20px;
}

.scr-box li:nth-child(n+5) {
  margin-top: 20px;
}

li.src-li-last {
  padding-top:20px;
}
.src-li-last .sll-box {
  height: 138.5px;
  background-color: pink;
}
.src-li-last .sll-box:nth-child(n+2){
  margin-top: 20px;
  background-color: darkorange;
}